package com.ihr360.cnb.module.common.service.fallback;


import com.ihr360.cnb.module.common.service.ProgressService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class ProgressServiceFallback implements ProgressService {

    @Override
    public boolean initProgress(@RequestParam(value = "type") String type, @RequestParam(value = "sessionId") String sessionId,
                         @RequestParam(value = "progressId") String progressId) {
        return false;
    }

    @Override
    public boolean setProgress(@RequestParam(value = "type") String type, @RequestParam(value = "percent") int percent) {
        return false;
    }

    @Override
    public boolean finish(@RequestParam(value = "type") String type) {
        return false;
    }

}

